# # import sys

# # name = "贾宝玉"
# # age = 11
# # gender = "women"

# # #f-string类型
# # print(f"信息:{name}{age}{gender}")
# # #format操作
# # print("信息:{}{}{}".format(name, age, gender))
# # #%操作符
# # print("信息:%s%d%s"%(name, age, gender))


# # # print(3 + 0.2)
# # # print("3" + "0.5")
# # # print(type(3 + 0.2))
# # # print(type(3 + 0.20033333333222222222222222222222222222222222222222222222222222222333002))
# # # print(3 ** 88898)

# # print(sys.getsizeof(22))

# # print("最大浮点数类型：",sys.float_info)

# #字符串
# str = """
# 现在，失去手机业务之后，剩下的是网络设备业务
# Nokia Solutions and Networks。
# Now, with the handset operation gone,
# what remains is network-gear business Nokia Solutions and Networks.
# """
# print(str) # """之间包含的内容可以原样输出

# s1 = "123#"
# s2 = "123#"
# print("id1:", id(s1), "\nid2:", id(s2))


#隐式类型转化就是将精度低的自动转换为高的
print(type(2 + 1.1))

#显式类型转换就是强制类型转换
a = 10
b = "ishi"
c = int(b)#  error
print(a + c)
